package org.tloss.web.editor.model;

import javax.xml.bind.annotation.XmlAttribute;

public class Field {

	public Field() {
	}

	private String type;

	private String name;

	private Boolean isCollection;

	@XmlAttribute(name = "is-collection")
	public Boolean getIsCollection() {
		return isCollection;
	}

	public void setIsCollection(Boolean isCollection) {
		this.isCollection = isCollection;
	}

	@XmlAttribute(name = "type")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@XmlAttribute(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
